﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace NFramework.DataAccess
{
    public interface ICommandParameterCollection : IDataParameterCollection, IList<IDbDataParameter>
    {
        T GetOutput<T>(string name, T defaultValue);

        IDbDataParameter Add(string name, DbType dbType);
        new IDbDataParameter this[string parameterName] { get; set; }
        new IDbDataParameter this[int index] { get; set; }

        bool Contains(int parameterIndex);
    }
}
